//package com.amigo.online.provider.search.config;
//
//import org.apache.solr.client.solrj.SolrClient;
//import org.apache.solr.client.solrj.impl.HttpSolrClient;
//import org.springframework.beans.factory.annotation.Value;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//public class SolrClientConfiguration {
//	
//	@Value("${solr.serverurl_user}")
//	private String solrserverurl_user;//用户索引库
//	@Value("${solr.serverurl_video}")
//	private String serverurl_video;//视频索引库
//	@Value("${solr.serverurl_music}")
//	private String serverurl_music;//音乐索引库
//	@Value("${solr.serverurl_hotword}")
//	private String serverurl_hotword;//热词
//	
//	
//	@SuppressWarnings("deprecation")
//	@Bean(name="SolrClient_user")
//    public SolrClient solrClient() {
//        return new HttpSolrClient(solrserverurl_user);
//    }
//	@SuppressWarnings("deprecation")
//	@Bean(name="SolrClient_video")
//    public SolrClient solrClient1() {
//        return new HttpSolrClient(serverurl_video);
//    }
//	@SuppressWarnings("deprecation")
//	@Bean(name="SolrClient_music")
//    public SolrClient solrClient2() {
//        return new HttpSolrClient(serverurl_music);
//    }
//	@SuppressWarnings("deprecation")
//	@Bean(name="SolrClient_hotword")
//    public SolrClient solrClient3() {
//        return new HttpSolrClient(serverurl_hotword);
//    }
//}
